<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>

import {mapActions} from "vuex";

export default {
  mounted() {
    this.getEventDict('event_level');
    this.getEventDict('event_type');
    this.getEventDict('event_category');
    this.getAssetsDict("equipmentType");
    this.getAssetsDict("equipmentSecLevel");
    this.getAssetsDict("equipmentStatus");
    this.getAssetsDict("equipmentUseStatus");
  },
  methods:{
    ...mapActions(['getEventDict','getAssetsDict'])
  }


};
</script>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  background: url("~@/assets/images/img_bg1.png") 0 0 no-repeat #000332;
  background-size: 100% 100%;
  width: 100vh;
  height: 100vh;
}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
